﻿<div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" 
        showPager = "false" showPageSize="false" showPageIndex="false" skipReadOnlyCell="true"
        allowCellSelect="true" allowSortColumn = "false" allowCellEdit="true" navEditMode="true"
        editNextOnEnterKey="true"  editNextRowCell="false" showSummaryRow="true"
        ondrawcell="onDrawCell" oncellcommitedit="onCellCommitEdit" ondrawsummarycell="onDrawSummaryCell"
        onrowdblclick="onRowDblClick" fitColumns="false" oncelleditenter="onCelleditenter">
    <div property="columns">
        <div type="indexcolumn" width="35" headerAlign="center">序号</div>
        <div field="mFNumber" name="mFNumber" displayField="mFNumber" width="120" headerAlign="center">商品编码
            <input property="editor" class="mini-buttonedit" onbuttonclick="onButtonEdit" onvaluechanged="onValueChanged" style="width:100%;" />
        </div>
        <div field="mFName" name="mFName" width="160" headerAlign="center">商品名称</div>
        <div field="mFModel" name="mFModel" width="100" headerAlign="center">规格型号</div>
        <div field="mFUnitName" name="mFUnitName" width="40" headerAlign="center">单位</div>
        <div field="mFQty" name="mFQty" width="70" headerAlign="center" align="right">
            数量
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;" changeOnMousewheel="false" showbutton="false" increment="0" />
        </div>
        <div field="mFPrice" name="mFPrice" width="70" numberFormat="#,0.00" headerAlign="center" align="right">
            单价
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;" changeOnMousewheel="false" showbutton="false" increment="0" />
        </div>
        <div field="mFAmount" name="mFAmount" numberFormat="#,0.00" width="90" headerAlign="center" align="right" summaryType="sum">
            金额
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;" changeOnMousewheel="false" showbutton="false" increment="0" />
        </div>
        <div field="mFCode" name="mFCode" width="120" headerAlign="center">商品条码</div>
        <div field="mFBillNO_Pra" name="mFBillNO_Pra" width="160" headerAlign="center">申请单号</div>
        <div field="mFQty_Pra" name="mFQty_Pra" numberFormat="#,0.00" width="80" headerAlign="center" align="right" summaryType="sum">申请数量</div>
        <div field="mFRemark" name="mFRemark" headerCls="CellLast" width="150" headerAlign="center">
            备注
            <input property="editor" class="mini-textbox" style="width:100%;" />
        </div>
    </div>
</div>  